package service;

import vo.User;

import java.io.IOException;
import java.sql.SQLException;

public interface IUserService {
    User findUserById(int id) throws SQLException, IOException;

    void register(User user) throws SQLException;

    void updateUser(User user)throws SQLException;

    User login(User user)throws SQLException;

}
